package com.ty.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (CustomerService)表实体类
 *
 * @author makejava
 * @since 2020-12-01 22:17:50
 */
@Data
public class CustomerService extends Model<CustomerService> {
    //客服主键
    private Integer id;
    //客服名字
    private String name;
    //账号
    private String account;
    //密码
    private String password;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}